package com.java1412.interceptor;

import com.hazelcast.core.EntryEvent;
import com.hazelcast.map.listener.EntryAddedListener;

/**
 * @author java1412
 * @create 2021-07-12 17:13
 */
public class IMapListener implements EntryAddedListener<String, String> {
    @Override
    public void entryAdded(EntryEvent<String, String> event) {
        //做具体监听的操作
        System.out.println("MAP分布式监听：" + event.getValue());
    }
}
